package com.smarthouse.model;

import java.time.LocalDateTime;
import java.util.List;

public class TextRecognitionResult {
    private Long id;
    private Long userId;
    private String imageUrl;
    private List<String> textLines;
    private LocalDateTime createdAt;

    // Constructors
    public TextRecognitionResult() {}

    public TextRecognitionResult(Long userId, String imageUrl, List<String> textLines) {
        this.userId = userId;
        this.imageUrl = imageUrl;
        this.textLines = textLines;
        this.createdAt = LocalDateTime.now();
    }

    // Getters and Setters
    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }
    public Long getUserId() { return userId; }
    public void setUserId(Long userId) { this.userId = userId; }
    public String getImageUrl() { return imageUrl; }
    public void setImageUrl(String imageUrl) { this.imageUrl = imageUrl; }
    public List<String> getTextLines() { return textLines; }
    public void setTextLines(List<String> textLines) { this.textLines = textLines; }
    public LocalDateTime getCreatedAt() { return createdAt; }
    public void setCreatedAt(LocalDateTime createdAt) { this.createdAt = createdAt; }
} 